summaryrefslogtreecommitdiff
path: root/app/[lng]/sales/(sales)
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-07-09 06:23:58 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-07-09 06:23:58 +0000
commitccca806e803baf87bbc97cb2c49b0065673b7a6b (patch)
tree80f32877637644125c6d404783b7349f42500876 /app/[lng]/sales/(sales)
parentd23e59b405b0be567592ce967793356d1b11d559 (diff)
(최겸) 한글화 및 구매 excel 기준 용어 변경, description 주석처리
Diffstat (limited to 'app/[lng]/sales/(sales)')
-rw-r--r--app/[lng]/sales/(sales)/bid-projects/page.tsx10
-rw-r--r--app/[lng]/sales/(sales)/bqcbe/page.tsx6
-rw-r--r--app/[lng]/sales/(sales)/bqtbe/page.tsx6
-rw-r--r--app/[lng]/sales/(sales)/budgetary-rfq/page.tsx4
-rw-r--r--app/[lng]/sales/(sales)/budgetary/page.tsx4
-rw-r--r--app/[lng]/sales/(sales)/cbe-tech/page.tsx67
-rw-r--r--app/[lng]/sales/(sales)/esg-check-list/page.tsx10
-rw-r--r--app/[lng]/sales/(sales)/evaluation-check-list/page.tsx10
-rw-r--r--app/[lng]/sales/(sales)/evaluation-target-list/page.tsx4
-rw-r--r--app/[lng]/sales/(sales)/evaluation/page.tsx4
-rw-r--r--app/[lng]/sales/(sales)/faq/page.tsx8
-rw-r--r--app/[lng]/sales/(sales)/items/page.tsx6
-rw-r--r--app/[lng]/sales/(sales)/project-gtc/page.tsx6
-rw-r--r--app/[lng]/sales/(sales)/project-vendors/page.tsx8
-rw-r--r--app/[lng]/sales/(sales)/projects/page.tsx10
-rw-r--r--app/[lng]/sales/(sales)/rfq-tech/[id]/cbe/page.tsx55
-rw-r--r--app/[lng]/sales/(sales)/rfq-tech/[id]/layout.tsx89
-rw-r--r--app/[lng]/sales/(sales)/rfq-tech/[id]/page.tsx55
-rw-r--r--app/[lng]/sales/(sales)/rfq-tech/[id]/tbe/page.tsx55
-rw-r--r--app/[lng]/sales/(sales)/rfq-tech/page.tsx76
-rw-r--r--app/[lng]/sales/(sales)/settings/layout.tsx6
-rw-r--r--app/[lng]/sales/(sales)/settings/page.tsx4
-rw-r--r--app/[lng]/sales/(sales)/system/layout.tsx4
-rw-r--r--app/[lng]/sales/(sales)/tbe-tech/page.tsx67
-rw-r--r--app/[lng]/sales/(sales)/tbe/page.tsx6
-rw-r--r--app/[lng]/sales/(sales)/tech-project-avl/page.tsx4
-rw-r--r--app/[lng]/sales/(sales)/tech-vendor-candidates/page.tsx6
-rw-r--r--app/[lng]/sales/(sales)/vendor-candidates/page.tsx6
28 files changed, 66 insertions, 530 deletions
diff --git a/app/[lng]/sales/(sales)/bid-projects/page.tsx b/app/[lng]/sales/(sales)/bid-projects/page.tsx
index 2039e5b2..38cbf91a 100644
--- a/app/[lng]/sales/(sales)/bid-projects/page.tsx
+++ b/app/[lng]/sales/(sales)/bid-projects/page.tsx
@@ -34,16 +34,16 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- 견적 프로젝트 리스트
+ 견적 프로젝트 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
SAP(S-ERP)로부터 수신한 견적 프로젝트 데이터입니다. 기술영업의 Budgetary RFQ에서 사용됩니다.
- {/* <span className="inline-flex items-center whitespace-nowrap">
+ <span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span>
- 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다. */}
- </p>
+ 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다.
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/bqcbe/page.tsx b/app/[lng]/sales/(sales)/bqcbe/page.tsx
index ae503feb..30935645 100644
--- a/app/[lng]/sales/(sales)/bqcbe/page.tsx
+++ b/app/[lng]/sales/(sales)/bqcbe/page.tsx
@@ -47,11 +47,11 @@ export default async function RfqCBEPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Commercial Bid Evaluation
+ CBE 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
초대된 협력업체에게 CBE를 보낼 수 있습니다. <br/>체크박스 선택을 하면 초대 버튼이 활성화됩니다. 버튼 클릭 후 첨부파일을 함께 전송하면 CBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/bqtbe/page.tsx b/app/[lng]/sales/(sales)/bqtbe/page.tsx
index 4989c235..3e56cfaa 100644
--- a/app/[lng]/sales/(sales)/bqtbe/page.tsx
+++ b/app/[lng]/sales/(sales)/bqtbe/page.tsx
@@ -45,11 +45,11 @@ export default async function RfqTBEPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Technical Bid Evaluation
+ TBE 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
초대된 협력업체에게 TBE를 보낼 수 있습니다. <br/>체크박스 선택을 하면 초대 버튼이 활성화됩니다. 버튼 클릭 후 첨부파일을 함께 전송하면 TBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/budgetary-rfq/page.tsx b/app/[lng]/sales/(sales)/budgetary-rfq/page.tsx
index dc2a4a2b..f342bbff 100644
--- a/app/[lng]/sales/(sales)/budgetary-rfq/page.tsx
+++ b/app/[lng]/sales/(sales)/budgetary-rfq/page.tsx
@@ -48,14 +48,14 @@ export default async function RfqPage({
<h2 className="text-2xl font-bold tracking-tight">
{title}
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
{description}
기본적인 정보와 RFQ를 위한 아이템 등록 및 첨부를 한 후,
<span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span> 을 클릭하면 "Proceed"를 통해 상세화면으로 이동하여 진행할 수 있습니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/budgetary/page.tsx b/app/[lng]/sales/(sales)/budgetary/page.tsx
index 04550353..15b4cdd4 100644
--- a/app/[lng]/sales/(sales)/budgetary/page.tsx
+++ b/app/[lng]/sales/(sales)/budgetary/page.tsx
@@ -48,14 +48,14 @@ export default async function RfqPage({
<h2 className="text-2xl font-bold tracking-tight">
{title}
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
{description}
기본적인 정보와 RFQ를 위한 아이템 등록 및 첨부를 한 후,
<span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span> 을 클릭하면 "Proceed"를 통해 상세화면으로 이동하여 진행할 수 있습니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/cbe-tech/page.tsx b/app/[lng]/sales/(sales)/cbe-tech/page.tsx
deleted file mode 100644
index 4dadc58f..00000000
--- a/app/[lng]/sales/(sales)/cbe-tech/page.tsx
+++ /dev/null
@@ -1,67 +0,0 @@
-import { type SearchParams } from "@/types/table"
-import { getValidFilters } from "@/lib/data-table"
-import { getAllCBE } from "@/lib/rfqs-tech/service"
-import { searchParamsCBECache } from "@/lib/rfqs-tech/validations"
-import { AllCbeTable } from "@/lib/cbe-tech/table/cbe-table"
-import * as React from "react"
-import { Shell } from "@/components/shell"
-import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
-
-interface IndexPageProps {
- params: {
- lng: string
- }
- searchParams: Promise<SearchParams>
-}
-
-export default async function RfqCBEPage(props: IndexPageProps) {
- const resolvedParams = await props.params
- const lng = resolvedParams.lng
-
- // URL 쿼리 파라미터에서 타입 추출
- const searchParams = await props.searchParams
-
- // SearchParams 파싱 (Zod)
- const search = searchParamsCBECache.parse(searchParams)
- const validFilters = getValidFilters(search.filters)
-
- // 현재 선택된 타입의 데이터 로드
- const promises = Promise.all([
- getAllCBE({
- ...search,
- filters: validFilters,
- })
- ])
-
- return (
- <Shell className="gap-2">
- <div className="flex items-center justify-between space-y-2">
- <div className="flex items-center justify-between space-y-2">
- <div>
- <h2 className="text-2xl font-bold tracking-tight">
- Commercial Bid Evaluation
- </h2>
- <p className="text-muted-foreground">
- 초대된 협력업체에게 CBE를 보낼 수 있습니다. <br/>
- 체크박스 선택을 하면 초대 버튼이 활성화됩니다. 버튼 클릭 후 첨부파일을 함께 전송하면 CBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
- </div>
- </div>
- </div>
-
- <React.Suspense
- fallback={
- <DataTableSkeleton
- columnCount={6}
- searchableColumnCount={1}
- filterableColumnCount={2}
- cellWidths={["10rem", "40rem", "12rem", "12rem", "8rem", "8rem"]}
- shrinkZero
- />
- }
- >
- <AllCbeTable promises={promises}/>
- </React.Suspense>
- </Shell>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/esg-check-list/page.tsx b/app/[lng]/sales/(sales)/esg-check-list/page.tsx
index 515751d5..dd97c74c 100644
--- a/app/[lng]/sales/(sales)/esg-check-list/page.tsx
+++ b/app/[lng]/sales/(sales)/esg-check-list/page.tsx
@@ -34,16 +34,16 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- ESG 자가진단표
+ ESG 자가진단평가 문항 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
협력업체 평가에 사용되는 ESG 자가진단표를 관리{" "}
- {/* <span className="inline-flex items-center whitespace-nowrap">
+ <span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span>
- 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다. */}
- </p>
+ 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다.
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/evaluation-check-list/page.tsx b/app/[lng]/sales/(sales)/evaluation-check-list/page.tsx
index a660c492..34409524 100644
--- a/app/[lng]/sales/(sales)/evaluation-check-list/page.tsx
+++ b/app/[lng]/sales/(sales)/evaluation-check-list/page.tsx
@@ -36,16 +36,16 @@ async function EvaluationCriteriaPage(props: EvaluationCriteriaPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- 협력업체 평가기준표
+ 협력업체 평가기준표 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
협력업체 평가에 사용되는 평가기준표를 관리{" "}
- {/* <span className="inline-flex items-center whitespace-nowrap">
+ <span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span>
- 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다. */}
- </p>
+ 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다.
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/evaluation-target-list/page.tsx b/app/[lng]/sales/(sales)/evaluation-target-list/page.tsx
index 088ae75b..56b8ecef 100644
--- a/app/[lng]/sales/(sales)/evaluation-target-list/page.tsx
+++ b/app/[lng]/sales/(sales)/evaluation-target-list/page.tsx
@@ -18,7 +18,7 @@ import { getEvaluationTargets } from "@/lib/evaluation-target-list/service"
import { EvaluationTargetsTable } from "@/lib/evaluation-target-list/table/evaluation-target-table"
export const metadata: Metadata = {
- title: "협력업체 평가 대상 확정",
+ title: "협력업체 평가 대상 관리",
description: "협력업체 평가 대상을 확정하고 담당자를 지정합니다.",
}
@@ -67,7 +67,7 @@ export default async function EvaluationTargetsPage(props: EvaluationTargetsPage
<div className="flex items-center justify-between space-y-2">
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 협력업체 평가 대상 확정
+ 협력업체 평가 대상 관리
</h2>
<Badge variant="outline" className="text-sm">
{currentEvaluationYear}년도
diff --git a/app/[lng]/sales/(sales)/evaluation/page.tsx b/app/[lng]/sales/(sales)/evaluation/page.tsx
index ead61077..2d8cbed7 100644
--- a/app/[lng]/sales/(sales)/evaluation/page.tsx
+++ b/app/[lng]/sales/(sales)/evaluation/page.tsx
@@ -42,9 +42,9 @@ function ProcessGuidePopover() {
<div className="space-y-3">
<div className="space-y-1">
<h4 className="font-medium">정기평가 프로세스</h4>
- <p className="text-sm text-muted-foreground">
+ {/* <p className="text-sm text-muted-foreground">
확정된 평가 대상 업체들에 대한 정기평가 절차입니다.
- </p>
+ </p> */}
</div>
<div className="space-y-3 text-sm">
<div className="flex gap-3">
diff --git a/app/[lng]/sales/(sales)/faq/page.tsx b/app/[lng]/sales/(sales)/faq/page.tsx
index 9b62b7e4..00956591 100644
--- a/app/[lng]/sales/(sales)/faq/page.tsx
+++ b/app/[lng]/sales/(sales)/faq/page.tsx
@@ -24,15 +24,15 @@ export default async function FaqPage(props: Props) {
<div className="space-y-6 p-10 pb-16">
<div className="flex justify-between items-center">
<div className="space-y-0.5">
- <h2 className="text-2xl font-bold tracking-tight">Frequently Asked Questions</h2>
- <p className="text-muted-foreground">
+ <h2 className="text-2xl font-bold tracking-tight">FAQ</h2>
+ {/* <p className="text-muted-foreground">
Find answers to common questions about using the EVCP system.
- </p>
+ </p> */}
</div>
<Link href={`/${lng}/evcp/faq/manage`}>
<Button variant="outline">
<Settings className="w-4 h-4 mr-2" />
- Manage FAQ
+ FAQ 관리
</Button>
</Link>
</div>
diff --git a/app/[lng]/sales/(sales)/items/page.tsx b/app/[lng]/sales/(sales)/items/page.tsx
index 0c44bf0a..f8d9a5b1 100644
--- a/app/[lng]/sales/(sales)/items/page.tsx
+++ b/app/[lng]/sales/(sales)/items/page.tsx
@@ -35,11 +35,11 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- 패키지 정보
+ 패키지 넘버
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
S-EDP로부터 수신된 패키지 정보이며 PR 전 입찰, 견적에 사용되며 벤더 데이터, 문서와 연결됩니다.
- </p>
+ </p> */}
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/project-gtc/page.tsx b/app/[lng]/sales/(sales)/project-gtc/page.tsx
index 8e12a489..d5cb467a 100644
--- a/app/[lng]/sales/(sales)/project-gtc/page.tsx
+++ b/app/[lng]/sales/(sales)/project-gtc/page.tsx
@@ -31,12 +31,12 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Project GTC
+ 프로젝트 GTC 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
프로젝트별 GTC(General Terms and Conditions) 파일을 관리할 수 있습니다.
각 프로젝트마다 하나의 GTC 파일을 업로드할 수 있으며, 파일 업로드 시 기존 파일은 자동으로 교체됩니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/project-vendors/page.tsx b/app/[lng]/sales/(sales)/project-vendors/page.tsx
index dcc66071..525cff07 100644
--- a/app/[lng]/sales/(sales)/project-vendors/page.tsx
+++ b/app/[lng]/sales/(sales)/project-vendors/page.tsx
@@ -36,14 +36,14 @@ export default async function IndexPage(props: IndexPageProps) {
<h2 className="text-2xl font-bold tracking-tight">
프로젝트 AVL 리스트
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
프로젝트 PQ를 통과한 벤더의 리스트를 보여줍니다.{" "}
- {/* <span className="inline-flex items-center whitespace-nowrap">
+ <span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span>
- 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다. */}
- </p>
+ 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다.
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/projects/page.tsx b/app/[lng]/sales/(sales)/projects/page.tsx
index 0320f259..649dd56f 100644
--- a/app/[lng]/sales/(sales)/projects/page.tsx
+++ b/app/[lng]/sales/(sales)/projects/page.tsx
@@ -35,16 +35,16 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Project List from S-EDP
+ 수행 프로젝트 리스트 from S-EDP
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
S-EDP로부터 수신하는 프로젝트 리스트입니다. 향후 MDG로 전환됩니다.{" "}
- {/* <span className="inline-flex items-center whitespace-nowrap">
+ <span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span>
- 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다. */}
- </p>
+ 을 통해 담당자 연락처, 입찰 이력, 계약 이력, 패키지 내용 등을 확인 할 수 있습니다.
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/rfq-tech/[id]/cbe/page.tsx b/app/[lng]/sales/(sales)/rfq-tech/[id]/cbe/page.tsx
deleted file mode 100644
index 84379caf..00000000
--- a/app/[lng]/sales/(sales)/rfq-tech/[id]/cbe/page.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { Separator } from "@/components/ui/separator"
-import { type SearchParams } from "@/types/table"
-import { getValidFilters } from "@/lib/data-table"
-import { searchParamsCBECache } from "@/lib/rfqs-tech/validations"
-import { getCBE } from "@/lib/rfqs-tech/service"
-import { CbeTable } from "@/lib/rfqs-tech/cbe-table/cbe-table"
-
-interface IndexPageProps {
- // Next.js 13 App Router에서 기본으로 주어지는 객체들
- params: {
- lng: string
- id: string
- }
- searchParams: Promise<SearchParams>
-}
-
-export default async function RfqCBEPage(props: IndexPageProps) {
- const resolvedParams = await props.params
- const lng = resolvedParams.lng
- const id = resolvedParams.id
-
- const idAsNumber = Number(id)
-
- // 2) SearchParams 파싱 (Zod)
- // - "filters", "page", "perPage", "sort" 등 contact 전용 컬럼
- const searchParams = await props.searchParams
- const search = searchParamsCBECache.parse(searchParams)
- const validFilters = getValidFilters(search.filters)
-
- const promises = Promise.all([
- getCBE({
- ...search,
- filters: validFilters,
- },
- idAsNumber)
- ])
-
- // 4) 렌더링
- return (
- <div className="space-y-6">
- <div>
- <h3 className="text-lg font-medium">
- Commercial Bid Evaluation
- </h3>
- <p className="text-sm text-muted-foreground">
- 초대된 협력업체에게 CBE를 보낼 수 있습니다. <br />&quot;발행하기&quot; 버튼을 통해 CBE를 전송하면 CBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
- </div>
- <Separator />
- <div>
- <CbeTable promises={promises} rfqId={idAsNumber} />
- </div>
- </div>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/rfq-tech/[id]/layout.tsx b/app/[lng]/sales/(sales)/rfq-tech/[id]/layout.tsx
deleted file mode 100644
index 0bb62fe0..00000000
--- a/app/[lng]/sales/(sales)/rfq-tech/[id]/layout.tsx
+++ /dev/null
@@ -1,89 +0,0 @@
-import { Metadata } from "next"
-import Link from "next/link"
-import { Separator } from "@/components/ui/separator"
-import { SidebarNav } from "@/components/layout/sidebar-nav"
-import { RfqViewWithItems } from "@/db/schema/rfq"
-import { findRfqById } from "@/lib/rfqs-tech/service"
-import { formatDate } from "@/lib/utils"
-import { Button } from "@/components/ui/button"
-import { ArrowLeft } from "lucide-react"
-
-export const metadata: Metadata = {
- title: "Vendor Detail",
-}
-
-export default async function RfqLayout({
- children,
- params,
-}: {
- children: React.ReactNode
- params: { lng: string, id: string }
-}) {
-
- // 1) URL 파라미터에서 id 추출, Number로 변환
- const resolvedParams = await params
- const lng = resolvedParams.lng
- const id = resolvedParams.id
-
- const idAsNumber = Number(id)
- // 2) DB에서 해당 협력업체 정보 조회
- const rfq: RfqViewWithItems | null = await findRfqById(idAsNumber)
-
- // 3) 사이드바 메뉴
- const sidebarNavItems = [
- {
- title: "Matched Vendors",
- href: `/${lng}/evcp/rfq-tech/${id}`,
- },
- {
- title: "TBE",
- href: `/${lng}/evcp/rfq-tech/${id}/tbe`,
- },
- {
- title: "CBE",
- href: `/${lng}/evcp/rfq-tech/${id}/cbe`,
- },
-
- ]
-
- return (
- <>
- <div className="container py-6">
- <section className="overflow-hidden rounded-[0.5rem] border bg-background shadow">
- <div className="hidden space-y-6 p-10 pb-16 md:block">
- <div className="flex items-center justify-end mb-4">
- <Link href={`/${lng}/evcp/rfq`} passHref>
- <Button variant="ghost" className="flex items-center text-primary hover:text-primary/80 transition-colors p-0 h-auto">
- <ArrowLeft className="mr-1 h-4 w-4" />
- <span>RFQ 목록으로 돌아가기</span>
- </Button>
- </Link>
- </div>
- <div className="space-y-0.5">
- {/* 4) 협력업체 정보가 있으면 코드 + 이름 + "상세 정보" 표기 */}
- <h2 className="text-2xl font-bold tracking-tight">
- {rfq
- ? `${rfq.projectCode ?? ""} ${rfq.rfqCode ?? ""} 관리`
- : "Loading RFQ..."}
- </h2>
-
- <p className="text-muted-foreground">
- {rfq
- ? `${rfq.description ?? ""} ${rfq.lines.map(line => line.itemCode).join(", ")}`
- : ""}
- </p>
- <h3>Due Date:{rfq && rfq?.dueDate && <strong>{formatDate(rfq?.dueDate)}</strong>}</h3>
- </div>
- <Separator className="my-6" />
- <div className="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0">
- <aside className="lg:w-64 flex-shrink-0">
- <SidebarNav items={sidebarNavItems} />
- </aside>
- <div className="lg:w-[calc(100%-16rem)] overflow-auto">{children}</div>
- </div>
- </div>
- </section>
- </div>
- </>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/rfq-tech/[id]/page.tsx b/app/[lng]/sales/(sales)/rfq-tech/[id]/page.tsx
deleted file mode 100644
index 007270a1..00000000
--- a/app/[lng]/sales/(sales)/rfq-tech/[id]/page.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { Separator } from "@/components/ui/separator"
-import { type SearchParams } from "@/types/table"
-import { getValidFilters } from "@/lib/data-table"
-import { getMatchedVendors } from "@/lib/rfqs-tech/service"
-import { searchParamsMatchedVCache } from "@/lib/rfqs-tech/validations"
-import { MatchedVendorsTable } from "@/lib/rfqs-tech/vendor-table/vendors-table"
-
-interface IndexPageProps {
- // Next.js 13 App Router에서 기본으로 주어지는 객체들
- params: {
- lng: string
- id: string
- }
- searchParams: Promise<SearchParams>
-}
-
-export default async function RfqPage(props: IndexPageProps) {
- const resolvedParams = await props.params
- const lng = resolvedParams.lng
- const id = resolvedParams.id
-
- const idAsNumber = Number(id)
-
- // 2) SearchParams 파싱 (Zod)
- // - "filters", "page", "perPage", "sort" 등 contact 전용 컬럼
- const searchParams = await props.searchParams
- const search = searchParamsMatchedVCache.parse(searchParams)
- const validFilters = getValidFilters(search.filters)
-
- const promises = Promise.all([
- getMatchedVendors({
- ...search,
- filters: validFilters,
- },
- idAsNumber)
- ])
-
- // 4) 렌더링
- return (
- <div className="space-y-6">
- <div>
- <h3 className="text-lg font-medium">
- Vendors
- </h3>
- <p className="text-sm text-muted-foreground">
- 등록된 협력업체 중에서 이 RFQ 아이템에 매칭되는 업체를 보여줍니다. <br/>&quot;발행하기&quot; 버튼을 통해 RFQ를 전송하면 첨부파일과 함께 RFQ 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
- </div>
- <Separator />
- <div>
- <MatchedVendorsTable promises={promises} rfqId={idAsNumber}/>
- </div>
- </div>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/rfq-tech/[id]/tbe/page.tsx b/app/[lng]/sales/(sales)/rfq-tech/[id]/tbe/page.tsx
deleted file mode 100644
index 4b226cdc..00000000
--- a/app/[lng]/sales/(sales)/rfq-tech/[id]/tbe/page.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import { Separator } from "@/components/ui/separator"
-import { type SearchParams } from "@/types/table"
-import { getValidFilters } from "@/lib/data-table"
-import { getTBE } from "@/lib/rfqs-tech/service"
-import { searchParamsTBECache } from "@/lib/rfqs-tech/validations"
-import { TbeTable } from "@/lib/rfqs-tech/tbe-table/tbe-table"
-
-interface IndexPageProps {
- // Next.js 13 App Router에서 기본으로 주어지는 객체들
- params: {
- lng: string
- id: string
- }
- searchParams: Promise<SearchParams>
-}
-
-export default async function RfqTBEPage(props: IndexPageProps) {
- const resolvedParams = await props.params
- const lng = resolvedParams.lng
- const id = resolvedParams.id
-
- const idAsNumber = Number(id)
-
- // 2) SearchParams 파싱 (Zod)
- // - "filters", "page", "perPage", "sort" 등 contact 전용 컬럼
- const searchParams = await props.searchParams
- const search = searchParamsTBECache.parse(searchParams)
- const validFilters = getValidFilters(search.filters)
-
- const promises = Promise.all([
- getTBE({
- ...search,
- filters: validFilters,
- },
- idAsNumber)
- ])
-
- // 4) 렌더링
- return (
- <div className="space-y-6">
- <div>
- <h3 className="text-lg font-medium">
- Technical Bid Evaluation
- </h3>
- <p className="text-sm text-muted-foreground">
- 초대된 협력업체에게 TBE를 보낼 수 있습니다. <br/>&quot;발행하기&quot; 버튼을 통해 TBE를 전송하면 첨부파일과 함께 TBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
- </div>
- <Separator />
- <div>
- <TbeTable promises={promises} rfqId={idAsNumber}/>
- </div>
- </div>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/rfq-tech/page.tsx b/app/[lng]/sales/(sales)/rfq-tech/page.tsx
deleted file mode 100644
index f35b3632..00000000
--- a/app/[lng]/sales/(sales)/rfq-tech/page.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import * as React from "react"
-import { type SearchParams } from "@/types/table"
-
-import { getValidFilters } from "@/lib/data-table"
-import { Skeleton } from "@/components/ui/skeleton"
-import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
-import { Shell } from "@/components/shell"
-
-import { searchParamsCache } from "@/lib/rfqs-tech/validations"
-import { getRfqs, getRfqStatusCounts } from "@/lib/rfqs-tech/service"
-import { RfqsTable } from "@/lib/rfqs-tech/table/rfqs-table"
-import { getAllOffshoreItems } from "@/lib/items-tech/service"
-
-interface RfqPageProps {
- searchParams: Promise<SearchParams>;
- title: string;
- description: string;
-}
-
-export default async function RfqPage({
- searchParams,
- title = "기술영업 해양 RFQ",
- description = "기술영업 해양 RFQ를 등록하고 관리할 수 있습니다."
-}: RfqPageProps) {
- const search = searchParamsCache.parse(await searchParams)
-
- const validFilters = getValidFilters(search.filters)
-
- const promises = Promise.all([
- getRfqs({
- ...search,
- filters: validFilters,
- }),
- getRfqStatusCounts(),
- getAllOffshoreItems()
- ])
-
- return (
- <Shell className="gap-2">
- <div className="flex items-center justify-between space-y-2">
- <div className="flex items-center justify-between space-y-2">
- <div>
- <h2 className="text-2xl font-bold tracking-tight">
- {title}
- </h2>
- <p className="text-muted-foreground">
- {description}
- </p>
- </div>
- </div>
- </div>
-
- <React.Suspense fallback={<Skeleton className="h-7 w-52" />}>
- {/* <DateRangePicker
- triggerSize="sm"
- triggerClassName="ml-auto w-56 sm:w-60"
- align="end"
- shallow={false}
- /> */}
- </React.Suspense>
- <React.Suspense
- fallback={
- <DataTableSkeleton
- columnCount={6}
- searchableColumnCount={1}
- filterableColumnCount={2}
- cellWidths={["10rem", "40rem", "12rem", "12rem", "8rem", "8rem"]}
- shrinkZero
- />
- }
- >
- <RfqsTable promises={promises} />
- </React.Suspense>
- </Shell>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/settings/layout.tsx b/app/[lng]/sales/(sales)/settings/layout.tsx
index 6f373567..6c380919 100644
--- a/app/[lng]/sales/(sales)/settings/layout.tsx
+++ b/app/[lng]/sales/(sales)/settings/layout.tsx
@@ -46,10 +46,10 @@ export default async function SettingsLayout({
<section className="overflow-hidden rounded-[0.5rem] border bg-background shadow">
<div className="hidden space-y-6 p-10 pb-16 md:block">
<div className="space-y-0.5">
- <h2 className="text-2xl font-bold tracking-tight">Settings</h2>
- <p className="text-muted-foreground">
+ <h2 className="text-2xl font-bold tracking-tight">설정</h2>
+ {/* <p className="text-muted-foreground">
Manage your account settings and preferences.
- </p>
+ </p> */}
</div>
<Separator className="my-6" />
<div className="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0">
diff --git a/app/[lng]/sales/(sales)/settings/page.tsx b/app/[lng]/sales/(sales)/settings/page.tsx
index a6eaac90..eba5e948 100644
--- a/app/[lng]/sales/(sales)/settings/page.tsx
+++ b/app/[lng]/sales/(sales)/settings/page.tsx
@@ -6,10 +6,10 @@ export default function SettingsAccountPage() {
<div className="space-y-6">
<div>
<h3 className="text-lg font-medium">Account</h3>
- <p className="text-sm text-muted-foreground">
+ {/* <p className="text-sm text-muted-foreground">
Update your account settings. Set your preferred language and
timezone.
- </p>
+ </p> */}
</div>
<Separator />
<AccountForm />
diff --git a/app/[lng]/sales/(sales)/system/layout.tsx b/app/[lng]/sales/(sales)/system/layout.tsx
index 7e8f69d0..2776ed8b 100644
--- a/app/[lng]/sales/(sales)/system/layout.tsx
+++ b/app/[lng]/sales/(sales)/system/layout.tsx
@@ -59,9 +59,9 @@ export default async function SettingsLayout({
<div className="hidden space-y-6 p-10 pb-16 md:block">
<div className="space-y-0.5">
<h2 className="text-2xl font-bold tracking-tight">시스템 설정</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
사용자, 롤, 접근 권한을 관리하세요.
- </p>
+ </p> */}
</div>
<Separator className="my-6" />
<div className="flex flex-col space-y-8 lg:flex-row lg:space-x-12 lg:space-y-0">
diff --git a/app/[lng]/sales/(sales)/tbe-tech/page.tsx b/app/[lng]/sales/(sales)/tbe-tech/page.tsx
deleted file mode 100644
index 17b01ce2..00000000
--- a/app/[lng]/sales/(sales)/tbe-tech/page.tsx
+++ /dev/null
@@ -1,67 +0,0 @@
-import { type SearchParams } from "@/types/table"
-import { getValidFilters } from "@/lib/data-table"
-import { getAllTBE } from "@/lib/rfqs-tech/service"
-import { searchParamsTBECache } from "@/lib/rfqs-tech/validations"
-import { AllTbeTable } from "@/lib/tbe-tech/table/tbe-table"
-import * as React from "react"
-import { Shell } from "@/components/shell"
-import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
-
-interface IndexPageProps {
- params: {
- lng: string
- }
- searchParams: Promise<SearchParams>
-}
-
-export default async function RfqTBEPage(props: IndexPageProps) {
- const resolvedParams = await props.params
- const lng = resolvedParams.lng
-
- // URL 쿼리 파라미터에서 타입 추출
- const searchParams = await props.searchParams
-
- // SearchParams 파싱 (Zod)
- const search = searchParamsTBECache.parse(searchParams)
- const validFilters = getValidFilters(search.filters)
-
- // 현재 선택된 타입의 데이터 로드
- const promises = Promise.all([
- getAllTBE({
- ...search,
- filters: validFilters,
- })
- ])
-
- return (
- <Shell className="gap-2">
- <div className="flex items-center justify-between space-y-2">
- <div className="flex items-center justify-between space-y-2">
- <div>
- <h2 className="text-2xl font-bold tracking-tight">
- Technical Bid Evaluation
- </h2>
- <p className="text-muted-foreground">
- 초대된 협력업체에게 TBE를 보낼 수 있습니다. <br/>
- 체크박스 선택을 하면 초대 버튼이 활성화됩니다. 버튼 클릭 후 첨부파일을 함께 전송하면 TBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
- </div>
- </div>
- </div>
-
- <React.Suspense
- fallback={
- <DataTableSkeleton
- columnCount={6}
- searchableColumnCount={1}
- filterableColumnCount={2}
- cellWidths={["10rem", "40rem", "12rem", "12rem", "8rem", "8rem"]}
- shrinkZero
- />
- }
- >
- <AllTbeTable promises={promises}/>
- </React.Suspense>
- </Shell>
- )
-} \ No newline at end of file
diff --git a/app/[lng]/sales/(sales)/tbe/page.tsx b/app/[lng]/sales/(sales)/tbe/page.tsx
index 1a7fdf86..211cf376 100644
--- a/app/[lng]/sales/(sales)/tbe/page.tsx
+++ b/app/[lng]/sales/(sales)/tbe/page.tsx
@@ -67,12 +67,12 @@ export default async function RfqTBEPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Technical Bid Evaluation
+ TBE 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
초대된 협력업체에게 TBE를 보낼 수 있습니다. <br/>
체크박스 선택을 하면 초대 버튼이 활성화됩니다. 버튼 클릭 후 첨부파일을 함께 전송하면 TBE 내용이 메일로 전달되고 eVCP에도 협력업체가 입력할 수 있게 자동 생성됩니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/tech-project-avl/page.tsx b/app/[lng]/sales/(sales)/tech-project-avl/page.tsx
index d942c5c5..3a86f840 100644
--- a/app/[lng]/sales/(sales)/tech-project-avl/page.tsx
+++ b/app/[lng]/sales/(sales)/tech-project-avl/page.tsx
@@ -48,14 +48,14 @@ export default async function AcceptedQuotationsPage({
<h2 className="text-2xl font-bold tracking-tight">
승인된 견적서(해양TOP,HULL)
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
기술영업 승인 견적서에 대한 요약 정보를 확인하고{" "}
<span className="inline-flex items-center whitespace-nowrap">
<Ellipsis className="size-3" />
<span className="ml-1">버튼</span>
</span>
을 통해 RFQ 코드, 설명, 업체명, 업체 코드 등의 상세 정보를 확인할 수 있습니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/tech-vendor-candidates/page.tsx b/app/[lng]/sales/(sales)/tech-vendor-candidates/page.tsx
index 3923863a..5a9f150f 100644
--- a/app/[lng]/sales/(sales)/tech-vendor-candidates/page.tsx
+++ b/app/[lng]/sales/(sales)/tech-vendor-candidates/page.tsx
@@ -36,11 +36,11 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Vendor Candidates Management
+ 발굴업체 등록 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
수집한 협력업체 후보를 등록하고 초대 메일을 송부할 수 있습니다.
- </p>
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/sales/(sales)/vendor-candidates/page.tsx b/app/[lng]/sales/(sales)/vendor-candidates/page.tsx
index a6e00b1b..f4bee95b 100644
--- a/app/[lng]/sales/(sales)/vendor-candidates/page.tsx
+++ b/app/[lng]/sales/(sales)/vendor-candidates/page.tsx
@@ -36,11 +36,11 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- Vendor Candidates Management
+ 발굴업체 등록 관리
</h2>
- <p className="text-muted-foreground">
+ {/* <p className="text-muted-foreground">
수집한 협력업체 후보를 등록하고 초대 메일을 송부할 수 있습니다.
- </p>
+ </p> */}
</div>
</div>
</div>